<div class="pa-top">
  <h2 class="f16">登录</h2>

  <%= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %>
    <p>
      <%= f.label :email, '账号：' %>
      <%= f.email_field :email %>
      <span>（您的注册邮箱）</span>
    </p>

    <p>
      <%= f.label :password, '密码：' %>
      <%= f.password_field :password %>
    </p>

    <% if devise_mapping.rememberable? -%>
      <p><%= f.check_box :remember_me %> <%= f.label :remember_me,'记住我' %></p>
    <% end -%>

    <p><%= f.submit "登录" %></p>
  <% end %>

  <%= render :partial => "users/shared/links" %>
</div>